function func_item_within_restrict_list_effective_date_intersection(retailStartDateForRestrict, retailEndDateForRestrict, restrict_effectiveDate, restrict_expiryDate) {
    var restrict_list_effective_date_intersection = false;
    if (isNull(restrict_effectiveDate)) {
        restrict_effectiveDate = getNewBeginDate(new Date());
    } else {
        restrict_effectiveDate = getNewBeginDate(new Date(restrict_effectiveDate));
    }
    if (isNull(restrict_expiryDate)) {
        restrict_expiryDate = getNewEndDate(new Date('2049-12-31'));
    } else {
        restrict_expiryDate = getNewEndDate(new Date(restrict_expiryDate));
    }
    var restrict_conflict_overlaps = overlaps(retailStartDateForRestrict, retailEndDateForRestrict, restrict_effectiveDate, restrict_expiryDate)
    if (restrict_conflict_overlaps) {
        restrict_list_effective_date_intersection = true;
    }
    return restrict_list_effective_date_intersection
}